Optimal. Leaf size=133 \[ \frac {b c x \sqrt {1-c^2 x^2}}{8 d \left (c^2 d+e\right ) \left (d+e x^2\right )}-\frac {a+b \text {ArcSin}(c x)}{4 e \left (d+e x^2\right )^2}+\frac {b c \left (2 c^2 d+e\right ) \text {ArcTan}\left (\frac {\sqrt {c^2 d+e} x}{\sqrt {d} \sqrt {1-c^2 x^2}}\right )}{8 d^{3/2} e \left (c^2 d+e\right )^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 133, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.210, Rules used = {4813, 390, 385,
211} \begin {gather*} -\frac {a+b \text {ArcSin}(c x)}{4 e \left (d+e x^2\right )^2}+\frac {b c \left (2 c^2 d+e\right ) \text {ArcTan}\left (\frac {x \sqrt {c^2 d+e}}{\sqrt {d} \sqrt {1-c^2 x^2}}\right )}{8 d^{3/2} e \left (c^2 d+e\right )^{3/2}}+\frac {b c x \sqrt {1-c^2 x^2}}{8 d \left (c^2 d+e\right ) \left (d+e x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 211
Rule 385
Rule 390
Rule 4813
Rubi steps
\begin {align*} \int \frac {x \left (a+b \sin ^{-1}(c x)\right )}{\left (d+e x^2\right )^3} \, dx &=-\frac {a+b \sin ^{-1}(c x)}{4 e \left (d+e x^2\right )^2}+\frac {(b c) \int \frac {1}{\sqrt {1-c^2 x^2} \left (d+e x^2\right )^2} \, dx}{4 e}\\ &=\frac {b c x \sqrt {1-c^2 x^2}}{8 d \left (c^2 d+e\right ) \left (d+e x^2\right )}-\frac {a+b \sin ^{-1}(c x)}{4 e \left (d+e x^2\right )^2}+\frac {\left (b c \left (2 c^2 d+e\right )\right ) \int \frac {1}{\sqrt {1-c^2 x^2} \left (d+e x^2\right )} \, dx}{8 d e \left (c^2 d+e\right )}\\ &=\frac {b c x \sqrt {1-c^2 x^2}}{8 d \left (c^2 d+e\right ) \left (d+e x^2\right )}-\frac {a+b \sin ^{-1}(c x)}{4 e \left (d+e x^2\right )^2}+\frac {\left (b c \left (2 c^2 d+e\right )\right ) \text {Subst}\left (\int \frac {1}{d-\left (-c^2 d-e\right ) x^2} \, dx,x,\frac {x}{\sqrt {1-c^2 x^2}}\right )}{8 d e \left (c^2 d+e\right )}\\ &=\frac {b c x \sqrt {1-c^2 x^2}}{8 d \left (c^2 d+e\right ) \left (d+e x^2\right )}-\frac {a+b \sin ^{-1}(c x)}{4 e \left (d+e x^2\right )^2}+\frac {b c \left (2 c^2 d+e\right ) \tan ^{-1}\left (\frac {\sqrt {c^2 d+e} x}{\sqrt {d} \sqrt {1-c^2 x^2}}\right )}{8 d^{3/2} e \left (c^2 d+e\right )^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.39, size = 141, normalized size = 1.06 \begin {gather*} \frac {1}{8} \left (\frac {-\frac {2 a}{e}+\frac {b c x \sqrt {1-c^2 x^2} \left (d+e x^2\right )}{d \left (c^2 d+e\right )}}{\left (d+e x^2\right )^2}-\frac {2 b \text {ArcSin}(c x)}{e \left (d+e x^2\right )^2}+\frac {b c \left (2 c^2 d+e\right ) \text {ArcTan}\left (\frac {\sqrt {c^2 d+e} x}{\sqrt {d} \sqrt {1-c^2 x^2}}\right )}{d^{3/2} e \left (c^2 d+e\right )^{3/2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1020\) vs.
\(2(118)=236\).
time = 0.12, size = 1021, normalized size = 7.68
method | result | size |
derivativedivides | \(\frac {-\frac {a \,c^{6}}{4 e \left (c^{2} e \,x^{2}+c^{2} d \right )^{2}}-\frac {b \,c^{6} \arcsin \left (c x \right )}{4 \left (c^{2} e \,x^{2}+c^{2} d \right )^{2} e}+\frac {b \,c^{4} \sqrt {-\left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )^{2}+\frac {2 \sqrt {-c^{2} e d}\, \left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+\frac {c^{2} d +e}{e}}}{16 e d \left (c^{2} d +e \right ) \left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )}-\frac {b \,c^{4} \sqrt {-c^{2} e d}\, \ln \left (\frac {\frac {2 c^{2} d +2 e}{e}+\frac {2 \sqrt {-c^{2} e d}\, \left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+2 \sqrt {\frac {c^{2} d +e}{e}}\, \sqrt {-\left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )^{2}+\frac {2 \sqrt {-c^{2} e d}\, \left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+\frac {c^{2} d +e}{e}}}{c x +\frac {\sqrt {-c^{2} e d}}{e}}\right )}{16 e^{2} d \left (c^{2} d +e \right ) \sqrt {\frac {c^{2} d +e}{e}}}-\frac {b \,c^{4} \ln \left (\frac {\frac {2 c^{2} d +2 e}{e}-\frac {2 \sqrt {-c^{2} e d}\, \left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+2 \sqrt {\frac {c^{2} d +e}{e}}\, \sqrt {-\left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )^{2}-\frac {2 \sqrt {-c^{2} e d}\, \left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+\frac {c^{2} d +e}{e}}}{c x -\frac {\sqrt {-c^{2} e d}}{e}}\right )}{16 e d \sqrt {-c^{2} e d}\, \sqrt {\frac {c^{2} d +e}{e}}}+\frac {b \,c^{4} \sqrt {-\left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )^{2}-\frac {2 \sqrt {-c^{2} e d}\, \left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+\frac {c^{2} d +e}{e}}}{16 e d \left (c^{2} d +e \right ) \left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )}+\frac {b \,c^{4} \sqrt {-c^{2} e d}\, \ln \left (\frac {\frac {2 c^{2} d +2 e}{e}-\frac {2 \sqrt {-c^{2} e d}\, \left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+2 \sqrt {\frac {c^{2} d +e}{e}}\, \sqrt {-\left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )^{2}-\frac {2 \sqrt {-c^{2} e d}\, \left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+\frac {c^{2} d +e}{e}}}{c x -\frac {\sqrt {-c^{2} e d}}{e}}\right )}{16 e^{2} d \left (c^{2} d +e \right ) \sqrt {\frac {c^{2} d +e}{e}}}+\frac {b \,c^{4} \ln \left (\frac {\frac {2 c^{2} d +2 e}{e}+\frac {2 \sqrt {-c^{2} e d}\, \left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+2 \sqrt {\frac {c^{2} d +e}{e}}\, \sqrt {-\left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )^{2}+\frac {2 \sqrt {-c^{2} e d}\, \left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+\frac {c^{2} d +e}{e}}}{c x +\frac {\sqrt {-c^{2} e d}}{e}}\right )}{16 e d \sqrt {-c^{2} e d}\, \sqrt {\frac {c^{2} d +e}{e}}}}{c^{2}}\) | \(1021\) |
default | \(\frac {-\frac {a \,c^{6}}{4 e \left (c^{2} e \,x^{2}+c^{2} d \right )^{2}}-\frac {b \,c^{6} \arcsin \left (c x \right )}{4 \left (c^{2} e \,x^{2}+c^{2} d \right )^{2} e}+\frac {b \,c^{4} \sqrt {-\left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )^{2}+\frac {2 \sqrt {-c^{2} e d}\, \left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+\frac {c^{2} d +e}{e}}}{16 e d \left (c^{2} d +e \right ) \left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )}-\frac {b \,c^{4} \sqrt {-c^{2} e d}\, \ln \left (\frac {\frac {2 c^{2} d +2 e}{e}+\frac {2 \sqrt {-c^{2} e d}\, \left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+2 \sqrt {\frac {c^{2} d +e}{e}}\, \sqrt {-\left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )^{2}+\frac {2 \sqrt {-c^{2} e d}\, \left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+\frac {c^{2} d +e}{e}}}{c x +\frac {\sqrt {-c^{2} e d}}{e}}\right )}{16 e^{2} d \left (c^{2} d +e \right ) \sqrt {\frac {c^{2} d +e}{e}}}-\frac {b \,c^{4} \ln \left (\frac {\frac {2 c^{2} d +2 e}{e}-\frac {2 \sqrt {-c^{2} e d}\, \left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+2 \sqrt {\frac {c^{2} d +e}{e}}\, \sqrt {-\left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )^{2}-\frac {2 \sqrt {-c^{2} e d}\, \left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+\frac {c^{2} d +e}{e}}}{c x -\frac {\sqrt {-c^{2} e d}}{e}}\right )}{16 e d \sqrt {-c^{2} e d}\, \sqrt {\frac {c^{2} d +e}{e}}}+\frac {b \,c^{4} \sqrt {-\left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )^{2}-\frac {2 \sqrt {-c^{2} e d}\, \left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+\frac {c^{2} d +e}{e}}}{16 e d \left (c^{2} d +e \right ) \left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )}+\frac {b \,c^{4} \sqrt {-c^{2} e d}\, \ln \left (\frac {\frac {2 c^{2} d +2 e}{e}-\frac {2 \sqrt {-c^{2} e d}\, \left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+2 \sqrt {\frac {c^{2} d +e}{e}}\, \sqrt {-\left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )^{2}-\frac {2 \sqrt {-c^{2} e d}\, \left (c x -\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+\frac {c^{2} d +e}{e}}}{c x -\frac {\sqrt {-c^{2} e d}}{e}}\right )}{16 e^{2} d \left (c^{2} d +e \right ) \sqrt {\frac {c^{2} d +e}{e}}}+\frac {b \,c^{4} \ln \left (\frac {\frac {2 c^{2} d +2 e}{e}+\frac {2 \sqrt {-c^{2} e d}\, \left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+2 \sqrt {\frac {c^{2} d +e}{e}}\, \sqrt {-\left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )^{2}+\frac {2 \sqrt {-c^{2} e d}\, \left (c x +\frac {\sqrt {-c^{2} e d}}{e}\right )}{e}+\frac {c^{2} d +e}{e}}}{c x +\frac {\sqrt {-c^{2} e d}}{e}}\right )}{16 e d \sqrt {-c^{2} e d}\, \sqrt {\frac {c^{2} d +e}{e}}}}{c^{2}}\) | \(1021\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 376 vs.
\(2 (119) = 238\).
time = 8.01, size = 793, normalized size = 5.96 \begin {gather*} \left [-\frac {8 \, a c^{4} d^{4} + 16 \, a c^{2} d^{3} e + 8 \, a d^{2} e^{2} + {\left (2 \, b c^{3} d^{3} + b c x^{4} e^{3} + 2 \, {\left (b c^{3} d x^{4} + b c d x^{2}\right )} e^{2} + {\left (4 \, b c^{3} d^{2} x^{2} + b c d^{2}\right )} e\right )} \sqrt {-c^{2} d^{2} - d e} \log \left (\frac {8 \, c^{4} d^{2} x^{4} - 8 \, c^{2} d^{2} x^{2} + x^{4} e^{2} - 4 \, {\left (2 \, c^{2} d x^{3} + x^{3} e - d x\right )} \sqrt {-c^{2} d^{2} - d e} \sqrt {-c^{2} x^{2} + 1} + d^{2} + 2 \, {\left (4 \, c^{2} d x^{4} - 3 \, d x^{2}\right )} e}{x^{4} e^{2} + 2 \, d x^{2} e + d^{2}}\right ) + 8 \, {\left (b c^{4} d^{4} + 2 \, b c^{2} d^{3} e + b d^{2} e^{2}\right )} \arcsin \left (c x\right ) - 4 \, {\left (b c^{3} d^{3} x e + b c d x^{3} e^{3} + {\left (b c^{3} d^{2} x^{3} + b c d^{2} x\right )} e^{2}\right )} \sqrt {-c^{2} x^{2} + 1}}{32 \, {\left (c^{4} d^{6} e + d^{2} x^{4} e^{5} + 2 \, {\left (c^{2} d^{3} x^{4} + d^{3} x^{2}\right )} e^{4} + {\left (c^{4} d^{4} x^{4} + 4 \, c^{2} d^{4} x^{2} + d^{4}\right )} e^{3} + 2 \, {\left (c^{4} d^{5} x^{2} + c^{2} d^{5}\right )} e^{2}\right )}}, -\frac {4 \, a c^{4} d^{4} + 8 \, a c^{2} d^{3} e + 4 \, a d^{2} e^{2} + {\left (2 \, b c^{3} d^{3} + b c x^{4} e^{3} + 2 \, {\left (b c^{3} d x^{4} + b c d x^{2}\right )} e^{2} + {\left (4 \, b c^{3} d^{2} x^{2} + b c d^{2}\right )} e\right )} \sqrt {c^{2} d^{2} + d e} \arctan \left (\frac {{\left (2 \, c^{2} d x^{2} + x^{2} e - d\right )} \sqrt {c^{2} d^{2} + d e} \sqrt {-c^{2} x^{2} + 1}}{2 \, {\left (c^{4} d^{2} x^{3} - c^{2} d^{2} x + {\left (c^{2} d x^{3} - d x\right )} e\right )}}\right ) + 4 \, {\left (b c^{4} d^{4} + 2 \, b c^{2} d^{3} e + b d^{2} e^{2}\right )} \arcsin \left (c x\right ) - 2 \, {\left (b c^{3} d^{3} x e + b c d x^{3} e^{3} + {\left (b c^{3} d^{2} x^{3} + b c d^{2} x\right )} e^{2}\right )} \sqrt {-c^{2} x^{2} + 1}}{16 \, {\left (c^{4} d^{6} e + d^{2} x^{4} e^{5} + 2 \, {\left (c^{2} d^{3} x^{4} + d^{3} x^{2}\right )} e^{4} + {\left (c^{4} d^{4} x^{4} + 4 \, c^{2} d^{4} x^{2} + d^{4}\right )} e^{3} + 2 \, {\left (c^{4} d^{5} x^{2} + c^{2} d^{5}\right )} e^{2}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x \left (a + b \operatorname {asin}{\left (c x \right )}\right )}{\left (d + e x^{2}\right )^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x\,\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )}{{\left (e\,x^2+d\right )}^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________